<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

//引入模型
use App\Models\Article\Article;

class ArticleSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //插入1000条数据
        Article::factory()->count(1000)->create();
    }
}
